<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录页</title>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" >
    <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
    <script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js" integrity="sha384-nvAa0+6Qg9clwYCGGPpDQLVpLNn0fRaROjHqs13t4Ggj3Ez50XnGQqc/r8MhnRDZ" crossorigin="anonymous"></script>
    <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
    <link rel="stylesheet" href="css/two.css">
</head>
<body>
    <div class="container" >

      <nav class="navbar navbar-default">
        <div class="container-fluid">
          <!-- Brand and toggle get grouped for better mobile display -->
          <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="frist.html">星巴克</a>
          </div>
      
          <!-- Collect the nav links, forms, and other content for toggling -->
          <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
              <li class="active"><a href="fifth.html">新闻资讯 <span class="sr-only">(current)</span></a></li>
              <li><a href="seven.html">关于我们</a></li>
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">产品中心<span class="caret"></span></a>
                <ul class="dropdown-menu">
                  <li><a href="third.html">饮料</a></li>
                  <li><a href="#">美食</a></li>
                  <li><a href="#">咖啡产品</a></li>
                  <li><a href="#">商品</a></li>
                  <li><a href="#">全部</a></li>
                </ul>
              </li>
            </ul>
            <form class="navbar-form navbar-left">
              <div class="form-group">
                <input type="text" class="form-control" placeholder="抹茶星冰乐" id="text">
              </div>
              <button type="submit" class="btn btn-default" id="btjs">搜索</button>
            </form>
            <ul class="nav navbar-nav navbar-right">
              <li><a href="sixth.html">订单</a></li>
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">更多 <span class="caret"></span></a>
                <ul class="dropdown-menu">
                  <li><a href="#">专星送</a></li>
                  <li><a href="#">咖啡星讲堂</a></li>
                  <li><a href="fourth.html">星礼卡</a></li>
                  <li role="separator" class="divider"></li>
                  <li><a href="#">到店去单</a></li>
                </ul>
              </li>
            </ul>
          </div><!-- /.navbar-collapse -->
        </div><!-- /.container-fluid -->

      <img src="./img/12.jpg" alt="" style="width: 100%; height: 5%;"> 
    <div class="row">
      <div class="col-md-6 col-md-offset-3">
          <form>
              <div class="form-group">
                <input type="email" class="form-control" id="exampleInputEmail1" placeholder="用户名称或电子邮箱" style="width: 500px; height: 45px;" >
              </div>
              <div class="form-group">
                <input type="password" class="form-control" id="exampleInputPassword1" placeholder="密码"style="width: 500px; height: 45px;">
              </div>
              <div class="checkbox">
                <label>
                  <input type="checkbox"> 请记住我
                </label>
              <div class="row">
              <div class="col-md-6 col-md-offset-3">
               <button type="submit" class="btn btn-default" style="width: 200px; background-color:#15777b; color: rgb(248, 246, 246);font-size: 25px;">登录</button>
              </div>
              </div>
            </form>
            </div>
      </div>
      </div>
      <div class="btno">
        <h2>加入星享俱乐部</h2>
        <h4>只需几分钟，便可成功注册星享俱乐部账户，成为“星”会员，立即开启集星之旅。</h4>
        <input class="btn btn-default" type="submit" value="注册" style="width: 100px; height: 35px;color:#15777b;">
      </div>

  </div>

</body>
<script>
  var bujs=document.getElementById("bujs")
  var text=document.getElementById("text")
  text.oninput=function()
{
  console.log("已输出");
  console.log(text.value);
}
</script>
</html>